/**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/11/12
 * Time: 4:12 AM
 */
Ext.define('CT.view.contrato.Window',{
    extend:'Ctc.view.Window',
    alias:'widget.wincontratos',
    title:'Administrar contratos',
    height:425,
    buildItems:function(){
        return [
            {
                xtype:'gridcontrato',
                region:'center',
                flex:4
            },{
                xtype:'formcontrato',
                flex:1,
                region:'east',
                collapsible:true,
                collapseDirection:'left',
                title:'Agregar',
                iconCls:'add'
            }
        ];
    },
    renderTo:'containerprincipal'
});